<?php

namespace App\Http\Requests\Personal\resumeRefresh;
use App\Http\Requests\Request;

class resumeRefreshRequest extends Request {

    public function authorize(){
        return true;
    }
    public function rules(){

        return [
            'mobile'=>'required|mobile_verification',
            'email' => 'required|email',
            'qq' => 'check_qq'
        ];
    }
    public function messages(){
        return [
            'mobile.required'=>'手机号码必须填写',
            'mobile.mobile_verification'=>'请输入正确的手机号码',
            'email.required'=>'邮箱必须填写',
            'email.email'=>'请输入正确的邮箱',
            'qq.check_qq'=>'请输入正确的qq号码'
        ];
    }


}